import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'element-plus/es/components/message/style/css'
import App from './App.vue'
import router from './router'
//引入模板的全局的样式
import '@/styles/index.scss'
// 引入echarts
import * as echarts from "echarts";
import ECharts from 'vue-echarts'
const app = createApp(App)

// 全局挂载echarts
app.config.globalProperties.$echarts = echarts
app.use(createPinia()).use(router).component('e-charts', ECharts).mount('#app')
